package com.wsoft.dc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wsoft.dc.entity.DcBusinessReadEntity;
import com.wsoft.dc.query.read.BusinessReadQuery;
import com.wsoft.dc.query.read.ReadAllQuery;

/**
 * <p>
 * 待办阅读状态 服务类
 * </p>
 *
 * @author Z001
 * @since 2024年12月17日 16:17:47
 */
public interface IDcBusinessReadService extends IService<DcBusinessReadEntity> {

    /**
     * 待办已读
     * @param query
     * @param type
     * @return
     */
    boolean read(BusinessReadQuery query,Integer type);

    /**
     * 一键已读
     * @return
     */
    boolean readAll(ReadAllQuery query);
}
